package com.bw.doctor.mapper;

import com.bw.doctor.domain.ConsultationRecord;
import com.bw.doctor.domain.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：尚志豪
 * @Package：com.bw.system.mapper
 * @Project：doudi-group2-shixun-02
 * @name：PrivateDoctorMapper
 * @Date：2025/2/24 21:00
 */
public interface PrivateDoctorMapper {
    /**
     * 查询问诊服务
     */
    List<Patient> checkByLoginDoctorId(@Param("doctorId") Long doctorId, @Param("state") Long state);
    /**
     * 通过患者问诊id查询详情
     */
    Patient queryPatientInformationByPatientId(@Param("patientId") Long patientId);
    /**
     * 通过患者问诊id查询问诊记录
     */
    List<ConsultationRecord> queryTheConsultationRecordByThePatientsConsultationId(@Param("patientId") Long patientId);
}
